<p>demo-bese64 works!</p>

33
<input type="file" id="file" (change)="getfiledata($event)" multiple>
<!-- <button id="uploadfile" (click)="postfile()">点击上传</button> -->
<button (click)="delBeseUrl()">删除图片</button>
&nbsp;===&nbsp;
<button (click)="getBeseUrl()">获取base64编码</button>

<br>
<hr>
<img [src]="fileBase64" alt="">